#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include "vector.h"
#include "ray.h"
#include "sphere.h"
#include "scene.h"


int main(){
  Vector v, v2;
  Vector p, p1, p2;

  Ray r;

  r.point = v;

  // testing 

  v.x = 25.0;
  v.y = 27.0;
  v.z = 27.0;


  printf("%f %f %f,", v.x, v.y, v.z);
  v2 = normalized(v);
  v2 = sub(v2, v); 
  printf("%f %f %f,", v2.x, v2.y, v2.z);

  v2 = reflectThru(v, v2);
  printf("%f %f %f,", v2.x, v2.y, v2.z);



  p.x = 50;
  p1.y = 25;
  p2 = add(p,p1);
  printf("%f",p1.y);

  r.vector = p1;

  printf("%f",r.vector.y);




  return 0;


}
